package com.qfedu.mall.mapper;

import com.qfedu.mall.beans.entity.Order;
import com.qfedu.mall.beans.entity.UserAddr;
import com.qfedu.mall.common.vo.OrderVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface OrderMapper{

    List<OrderVo> selectOrderByID(@Param("userId") Integer userId, @Param("status")Integer status);

    UserAddr selectAddrByAddrId(@Param("addrId") Integer addrId);

    int InterOrder(Order order);
}
